package io.r2mo.test.common;

import io.r2mo.base.generator.GenMeta;
import io.r2mo.base.generator.SourceStructure;
import io.r2mo.dbe.mybatisplus.generator.config.GenConfigMybatisPlus;
import io.r2mo.spring.mybatisplus.program.ActOperationMybatisPlus;
import io.r2mo.typed.enums.DatabaseType;

/**
 * @author lang : 2025-08-29
 */
public class GenConfigTestCommon extends GenConfigMybatisPlus {

    @Override
    public GenMeta getMetadata() {
        return GenMeta.builder()
            .schema("V1__init_schema.sql")
            .spi("GenMybatisPlus")
            .database(DatabaseType.MYSQL_8)
            .structure(SourceStructure.DPA)
            .version("v1")
            .baseAct(ActOperationMybatisPlus.class)
            .build();
    }
}
